package model;

public class Staff extends Person
{
   private String type;
   private String workplace;
    public Staff(String name, String phone, String cpr, String email,String address, String type,String workplace)
    { super(name,phone,cpr,email,address);
        this.type=type;
        this.workplace=workplace;
    }
    public void setType(String type)
    {
    this.type=type;
    }
    public String getType()
    {
        return type;
    }
}
